$.ajax({
    url: "/sdkd/userInfo/loginName.do",
    async: false,
    dataType: "json",
    type: "post",
    success: function (data) {
        let status = data.data
        console.log(data)
        $("#loginStatus").text(status)
    }
}, "json")

$("#exit").click(function () {
    $.ajax({
        url:"/sdkd/userInfo/exit.do",
        async: false,
        dataType: "json",
        type: "post",
        success:function (data) {
            console.log(data)
        }
    })
})